//
//  WDDBProtocols.swift
//  WDDatabase
//
//  Created by Alean on 2022/12/5.
//

import Foundation

public protocol DatabaseService: AnyObject {
    associatedtype AbstractType

    func findDatas() -> [AbstractType]
    func insetData(model: AbstractType)
    func removeData(model: AbstractType)
    func updateData(model: AbstractType)
}

public extension DatabaseService {
     func updateData(model: AbstractType) {}
}
